﻿using System;

class PrintNumbersFrom1ToN
{
    static void Main()
    {
        int numberN;

        Console.WriteLine("Type a number N:");
        bool isNumberNValid = int.TryParse(Console.ReadLine(), out numberN);

        if (isNumberNValid)
        {
            for (int i = 1; i <= numberN; i++)
            {
                Console.WriteLine(i);
            }
        }
        else
        {
            Console.WriteLine("Your input isn`t OK!!!");
        }
    }
}